package com.zat.mes.andrmes.utils

import android.content.Context
import android.widget.Toast

/**
 * @author zy
 * @date :2020-02-04 13:31
 * @description:
 */

fun Context.showToast(toastMsg: String?): Toast {
    var toast = Toast.makeText(this, toastMsg, Toast.LENGTH_SHORT)
    toast.show()
    return toast
}
